package pattern;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

/**
 * @author jukg
 * @date 2024/04/25 11:40
 * @description
 */
public class Parttern {
    public static void main(String[] args) {
        String str = "4,11,011,200,320,200;\\n4,1,001,10\n000\r00\\r,1,1";
        System.out.println(replaceBlank(str));
    }

    public static String replaceBlank(String str) {
        String dest = "";
        if (str!=null) {
            dest = str.replaceAll("\\\\r","").replaceAll("\\\\n","").replaceAll("\\r","").replaceAll("\\n","").replaceAll("\r","").replaceAll("\n", "");
        }
        return dest;
    }
}
